<!DOCTYPE html>
<html>
<head>
    <title>
        {if ROUTE_A=='show'}
        文章正文
        {else}
        文章列表
        {/if}
    </title>
    <link rel="stylesheet" href="{CSS_PATH}yrrs/lite-top.css">
    <link rel="stylesheet" href="{CSS_PATH}yrrs/base.css">
    <link rel="stylesheet" href="{CSS_PATH}yrrs/passlist.css">
    {if ROUTE_A=='show'}
    <link rel="stylesheet" href="{CSS_PATH}yrrs/passage.css">
    {/if}
    <link rel="stylesheet" href="{CSS_PATH}yrrs/footer.css">
    <meta charset="utf-8">
    <style type="text/css">
        .center-wrap{
            min-height:1340px;
            height:auto;
            padding-top: 100px;
        }
        .news-box{
            float: left;
        }
    {if !$isFuwen&&ROUTE_A=='show'}
    #news-bar{
        background:url({IMG_PATH}/yrrs/news_relation.png) no-repeat;
    }
    {/if}
    </style>
</head>
<body>
    <div class="top">
        <div class="login lh24 blue"><span class="rt"><script type="text/javascript">document.write('<iframe src="{APP_PATH}index.php?m=member&c=index&a=mini_float&forward='+encodeURIComponent(location.href)+'&siteid={get_siteid()}" allowTransparency="true"  width="1351" height="24" frameborder="0" scrolling="no"></iframe>')</script></span></div>
        <div class="top-center-wrap">
            <a href="{APP_PATH}" ><div class="logo"></div></a>
            <ul class="menu" id="top-lite">
                <li class="m-li"><a href="{APP_PATH}" >首页</a>
                    </li>
                    <!-- 获取概述的链接内容 -->
                    {pc:content action="lists" catid="30" order="id DESC" num="1" moreinfo="1"}
                    <?php
                        $gaishu_url = $data[2]['url'];//此处1为id号
                    ?>
                    {/pc}
                    <li class="m-li"><a href="{$gaishu_url}" target="_blank">概述</a></li>
                    <li class="m-li">
                        <a href="" >易如斯</a>
                        <ul class="drop">
                            {pc:content action="category" catid="6" num="15" siteid="$siteid" order="listorder ASC"}
                                {loop $data $c}
                                <li><a href="{$c[url]}" title="{$c[catname]}">{str_cut($c[catname],45,'...')}</a></li>
                                {/loop}
                            {/pc}
                            {pc:content action="category" catid="7" num="15" siteid="$siteid" order="listorder ASC"}
                                {loop $data $c}
                                <li><a href="{$c[url]}" title="{$c[catname]}">{str_cut($c[catname],28,'...')}</a></li>
                                {/loop}
                            {/pc}
                        </ul>   
                    </li>
                    <li class="m-li">
                        <a href="" >儒如斯</a>
                        <ul class="drop">
                            {pc:content action="category" catid="8" num="15" siteid="$siteid" order="listorder ASC"}
                                {loop $data $c}
                                <li><a href="{$c[url]}" title="{$c[catname]}">{str_cut($c[catname],45,'...')}</a></li>
                                {/loop}
                            {/pc}
                            {pc:content action="category" catid="9" num="15" siteid="$siteid" order="listorder ASC"}
                                {loop $data $c}
                                <li><a href="{$c[url]}" title="{$c[catname]}">{str_cut($c[catname],28,'...')}</a></li>
                                {/loop}
                            {/pc}
                        </ul>
                    </li>
                    <li class="m-li">
                        <a href="" >古文辨析</a>
                        <ul class="drop">
                            {pc:content action="category" catid="32" num="15" siteid="$siteid" order="listorder ASC"}
                                {loop $data $c}
                                <li><a href="{$c[url]}" title="{$c[catname]}">{str_cut($c[catname],45,'...')}</a></li>
                                {/loop}
                            {/pc}
                        </ul>   
                    </li>
                    {pc:content action="lists" catid="29" order="id DESC" num="1" moreinfo="1"}
                    <?php
                        $new_activity_url = $data[1]['url'];//此处1为id号
                    ?>
                 {/pc}
                <li class="m-li"><a href="{$new_activity_url}" target="_blank">最新活动</a></li>
                <li class="m-li">
                    <a href="" >关于我们</a>
                    <ul class="drop">
                        {pc:content action="lists" catid="31" num="15" siteid="$siteid" order="listorder ASC"}
                            {loop $data $c}
                            <li><a href="{$c[url]}" title="{$c['title']}" target="_blank">{str_cut($c['title'],45,'...')}</a></li>
                            {/loop}
                        {/pc}
                    </ul>   
                </li>
                </ul>
        </div>
        <!-- 导航栏下拉子栏目的js -->
        <script src="{JS_PATH}jquery-1.4.4.min.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
            $(".m-li").hover(function(){
                $li = $(this);
                $li.find(".drop").slideDown(0);
            });
            $(".m-li").mouseleave(function(){
                $li = $(this);
                $li.find(".drop").hide(0);
            });
            $(".drop").hover(function(){
                $li = $(this);
                $li.slideDown(0);
            });
            $(".drop").mouseleave(function(){
                $li = $(this);
                $li.hide(0);
            });
        </script>
    </div>